package edu.fiu.cis.personalize.server.graph;

import java.io.Serializable;

@SuppressWarnings("serial")
public class Edge implements Serializable {
	private EdgeKey edgeKey;
	private double weight;

	public Edge() {
	}

	public Edge(EdgeKey edgeKey, double weight) {
		super();
		this.edgeKey = edgeKey;
		this.weight = weight;
	}

	public EdgeKey getEdgeKey() {
		return edgeKey;
	}

	public void setEdgeKey(EdgeKey edgeKey) {
		this.edgeKey = edgeKey;
	}

	public double getWeight() {
		return weight;
	}

	public void setWeight(double weight) {
		this.weight = weight;
	}

}
